/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

import java.io.Serializable;
import java.util.ArrayList;
import javax.ejb.Stateful;

/**
 *
 * @author william
 */
@Stateful
public class Cluster implements Serializable {

    private String name;
    private String owner;
    private ArrayList<Host> hostList;

    public Cluster() {
    }

    public Cluster(String name, String owner, ArrayList<Host> hostList) {
        this.name = name;
        this.owner = owner;
        this.hostList = hostList;
    }

    public ArrayList<Host> getHostList() {
        return hostList;
    }

    public void setHostList(ArrayList<Host> hostList) {
        this.hostList = hostList;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }
}
